package com.shhic.hhplt.server.service;

import com.shhic.hhplt.server.model.BoxNumber;

import java.util.List;
import java.util.Set;

public interface IBoxNumberService {
    void insertOrUpdateBoxNumber(BoxNumber bn);

    void deleteBoxNumber(String codeName);

    Set<BoxNumber> getAllBoxNumber();

    void updateNowBoxNumber(String codeName, String nowCode);

    void addRetrivedCode(String codeName, String code);

    //返回值true表示确实有东西删掉
    boolean removeIfExistRetrievedCode(String codeName, String code);

    BoxNumber getBoxNumber(String codeName);
}
